﻿using System.Windows;
using System.Windows.Controls;

namespace Algoritmos_de_Ordenação
{
    public class CheckBoxes
    {
        private static CheckBox cbCodCSharp = new CheckBox();
        private static CheckBox cbTrace = new CheckBox();
        private static CheckBox cbCodCPlusPlus = new CheckBox();

        public CheckBoxes()
        {
            createCheckBoxes();
        }

        private void createCheckBoxes()
        {
            cbCodCSharp.Content = "Código C#";
            cbCodCPlusPlus.Content = "Código C++";
            cbTrace.Content = "Trace de Execução";

            cbCodCSharp.Margin = new Thickness(3);
            cbCodCPlusPlus.Margin = new Thickness(3);
            cbTrace.Margin = new Thickness(3);
        }

        public void addCheckBoxes(StackPanel sp)
        {
            sp.Children.Add(cbCodCSharp);
            sp.Children.Add(cbCodCPlusPlus);
            sp.Children.Add(cbTrace);
        }
    }
}
